
import {print} from 'nc-lightapp-front';


export default function() {

    const {
        editTable
    } = this.props;

    let allTableList = editTable.getAllRows('ncc600704list');

    let oids = [];
    allTableList.map((item) => {
        oids.push(item.values['pk_psnjob'].value);
    })


    print('pdf', '/nccloud/hrhi/psndoc/PsndocTemplatePrintAction.do', {
        funcode: '60071010',
        nodekey: '60071010list',
        oids: oids
    });
}